//
//  MSEnemyInfo.h
//  MagicSword
//
//  Created by Netease on 15/11/20.
//  Copyright © 2015年 Jonear. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MSWeaponInfo.h"
#import "MSAIManager.h"

typedef NS_ENUM(NSInteger, MSEnemyModel) {
    MSEnemyModel_A = 0,        // 1.剑兵
    MSEnemyModel_B = 1,        // 2.斧头兵
    MSEnemyModel_C = 2,        // 3.骑兵
    MSEnemyModel_D = 3,        // 4.法兵
    MSEnemyModel_E = 4,        // 5.弓兵
    
};

@interface MSEnemyInfo : NSObject

@property (nonatomic, assign) NSInteger HP;                 //当前血量
@property (nonatomic, assign) NSInteger MaxHP;              //血量
@property (nonatomic, assign) NSInteger Attack;             //攻击
@property (nonatomic, assign) NSInteger Defense;            //防御（暂时不用）
@property (nonatomic, assign) NSInteger Crit;               //暴击（暂时不用）
@property (nonatomic, assign) NSInteger DoubleHit;          //连击
@property (nonatomic, assign) NSInteger Vampire;            //吸血
@property (nonatomic, assign) NSInteger MissValue;          //闪避

@property (nonatomic, assign) CGPoint point;                //位置
@property (nonatomic, strong) NSString *mapImage;           //图标
@property (nonatomic, assign) MSEnemyModel type;            //人物类型
@property (nonatomic, strong) NSString *name;               //人物名字
@property (nonatomic, strong) NSString *detailMsg;          //特殊说明

@property (nonatomic, assign) NSInteger moveDistance;       //移动距离
@property (nonatomic, assign) MSAttackDistanceType attackDistance;     //攻击距离
@property (nonatomic, strong) MSWeaponInfo *weaponInfo;      //使用的武器类型
@property (nonatomic, assign) MSAIManagerType AIType;       //人工智能类型
@property (nonatomic, assign) NSInteger experience;         //经验值

+ (id)enemyWithType:(MSEnemyModel)type point:(CGPoint)point;

@end
